Shadow Rootに追加できる要素
security上の問題から、
Element.attachShadow()
で
Shadow DOM
を追加できる要素は限られている
シャドウツリーを追加できる要素 | Element.attachShadow() - Web API | MDN